﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Resource_ZQ.aspx.cs" Inherits="Hisun.View.Resource.Resource_ZQ" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script language="javascript" for="document" event="onkeydown">

  if(event.keyCode==13 && event.srcElement.type!="button" && event.srcElement.type!="submit" && event.srcElement.type!="reset" && event.srcElement.type!="textarea" && event.srcElement.type!="")
{
      event.keyCode=9;
   }

</script> 
</head>
<body>
    <form id="form1" runat="server">
       <div class =" CommonPage_MainPanel">
    <div class ="CommonPage_Banner"><div class = "CommomPage_Title">蒸汽费用</div></div>
    <div class ="CommonPage_Body">
     <table style="width:100%;">
            <tr>
                <td colspan="3">
            
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:GridView ID="GridView_ZQ" runat="server" SkinID ="GridView" 
                        AutoGenerateColumns="False" onrowdatabound="GridView_ZQ_RowDataBound" 
                        ShowFooter="True">
                        <Columns>
                            <asp:BoundField DataField="作业中心ID" HeaderText="作业中心ID" ReadOnly="True" 
                                SortExpression="作业中心ID" />
                            <asp:BoundField DataField="作业中心名称" HeaderText="作业中心名称" ReadOnly="True" 
                                SortExpression="作业中心名称" />
                                <asp:TemplateField HeaderText="数量">
                                <EditItemTemplate>
                                     <asp:Label ID="Label_Number" runat="server" Text='<%# Eval("数量") %>'></asp:Label>
                                </EditItemTemplate>
                                <ItemTemplate>
                                   <asp:TextBox ID="TextBox_Number" runat="server" 
                                        Text='<%# string.Format("{0:N2}",Eval("数量")) %>'></asp:TextBox>
                                    <asp:RangeValidator ID="RangeValidator2" runat="server" 
                                        ControlToValidate="TextBox_Number" ErrorMessage="*" MaximumValue="100000000" 
                                        MinimumValue="0" Type="Currency" ValidationGroup="Group"></asp:RangeValidator>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="金额" SortExpression="金额">
                                <EditItemTemplate>
                                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("金额") %>'></asp:Label>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:TextBox ID="TextBox_Money" runat="server" 
                                        Text='<%# string.Format("{0:N2}",Eval("金额")) %>'></asp:TextBox>
                                    <asp:RangeValidator ID="RangeValidator1" runat="server" 
                                        ControlToValidate="TextBox_Money" ErrorMessage="*" MaximumValue="100000000" 
                                        MinimumValue="0" Type="Currency" ValidationGroup="Group"></asp:RangeValidator>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button SkinID = "Button" ID="Button1" runat="server" onclick="Button1_Click" Text="保存" 
                        ValidationGroup="Group" />
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </div></div>
    </form>
</body>
</html>
